// 加载图标
import { SET_LOADING } from '../constant';

const intiValue = true;

export default function folder (prev = intiValue, action) {
  const {
    type,
    data
  } = action;
  switch (type) {
  case SET_LOADING:
    return data
  default:
    return prev
  }
}
